<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;
use yii\helpers\ArrayHelper;
use kartik\widgets\FileInput;

/* @var $this yii\web\View */
/* @var $model common\models\Qualification */
$this->title = '上传demo';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="upload-create">

    <?php
    echo \yii\bootstrap\Tabs::widget([
        'items' => [
            [
                'label' => '上传图片',
                'active' => true,
                'content' => $this->render('_form', [
                ])
            ],
            [
                'label' => '图片列表',
                'content' => $this->render('_pic', [
                    'picList' => $picList,
                ])
            ],
        ]
    ]);
    ?>
</div>

<script language="JavaScript">
    <?php $this->beginBlock(Yii::$app->controller->route) ?>

    jQuery(document).ready(function() {
        highlight_subnav('index/upload'); //子导航高亮
    });

    <?php
    $this->endBlock();
    $this->registerJs($this->blocks[Yii::$app->controller->route], \yii\web\View::POS_END);
    ?>
</script>